package cn.xiuxius.askbox.pojo.dto.update;

import cn.xiuxius.askbox.common.constant.AccountState;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaoxiu
 * @since 2024-07-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="AdminUpdateDTO对象", description="")
public class AdminUpdateStateDTO implements Serializable {

    @NotBlank(message = "uuid不能为空")
    private String uuid;

    @NotNull(message = "状态不能为空")
    private AccountState state;

}
